﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/layout/OneColumn.Master" CodeBehind="ListBlogEntries.aspx.cs" Inherits="Plain.Demo.Blog.web.admin.ListBlogEntries" %>
<%@ Register Assembly="Plain.Web" Namespace="Plain.Web" TagPrefix="plain" %>
<asp:Content ID="ctnSingleColumn" runat="server" ContentPlaceHolderID="cphSingleColumn">
    <asp:GridView ID="gvBlogEntries" runat="server" AutoGenerateColumns="false" DataSourceID="pdsBlogEntry">
        <Columns>
            <asp:HyperLinkField DataTextField="Title" DataNavigateUrlFields="Id" DataNavigateUrlFormatString="EditBlogEntry.aspx?Id={0}" />
            <plain:PlainBoundField DataField="Author" />
            <plain:PlainBoundField DataField="Created" />
        </Columns>
    </asp:GridView>
    <plain:PlainDataSource ID="pdsBlogEntry" runat="server" Type="Plain.Demo.Blog.BlogEntry, Plain.Demo.Blog" />
</asp:Content>